package com.xwyzsn.rentcar.mapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.xwyzsn.rentcar.entity.User;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;
@Mapper
public interface UserMapper  extends BaseMapper<User> {

    List<User> getAll();


    List<User> getOne(Integer id);

    Integer updateOne(User user);

    Boolean deleteOne(Integer id);

    Boolean addOne(User user);

}
